package org.budo.netty.servlet.server.handler;

import java.io.IOException;

import javax.servlet.DispatcherType;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.budo.netty.servlet.server.BudoServletServer;

/**
 * @author li
 */
public interface BudoServletHandler {
    BudoServletServer getBudoServletServer();

    void handlerRequest(HttpServletRequest request, HttpServletResponse response, DispatcherType dispatcherType) throws ServletException, IOException;
}